<?php

namespace models\Exception\Business;

use Exception;


class AlibabaproductException extends Exception {
    const ALIBABAPRODUCT_IS_NOT_EXISTS = '1688商品不存在';

    const ALIBABAPRODUCT_IS_NOT_EXISTS_NO = '404';

    const ALIBABAPRODUCT_CREATE_FAILURE = '1688商品创建失败';

    const ALIBABAPRODUCT_CREATE_FAILURE_NO = '422';

    const ALIBABAPRODUCT_EDIT_FAILURE = '1688商品编辑失败';

    const ALIBABAPRODUCT_EDIT_FAILURE_NO = '422';

    const ALIBABAPRODUCT_ID_IS_EMPTY = '1688商品编号不能为空';

    const ALIBABAPRODUCT_ID_IS_EMPTY_NO = '400';

    const ALIBABAPRODUCT_INVALID_STORE = "商品卖完了";
    const ALIBABAPRODUCT_INVALID_STORE_NO = "400";

    const ALIBABAPRODUCT_INVALID_STORE_4_API = '您购买的“%title”因库存不足交易失败，您所支付的金额已全额退回您的余额，请注意查收。订单号：';

    const ALIBABAPRODUCT_NOT_EXISTS = '商品已下架';
    const ALIBABAPRODUCT_NOT_EXISTS_NO = '404';

    const ALIBABAPRODUCT_INVALID_NUM = '商品起购数不得小于#num#';
    const ALIBABAPRODUCT_INVALID_NUM_NO = '400';

    const ALIBABAPRODUCT_TRADE_UNFINISHED = '请等待上一次拼团结束再参与';
    const ALIBABAPRODUCT_TRADE_UNFINISHED_NO = '400';

    const ALIBABAPRODUCT_TRADE_UNPAY = '拼单已存在，请到我的界面-待支付完成付款';
    const ALIBABAPRODUCT_TRADE_UNPAY_NO = '400';

    const ALIBABAPRODUCT_TRADE_PAY_UNFINISHED = '已拼单请等待结果，您可以先拼其他商品。';
    const ALIBABAPRODUCT_TRADE_PAY_UNFINISHED_NO = '400';

    const ALIBABAPRODUCT_COUPON_FAILURE = "拼团失败";
    const ALIBABAPRODUCT_COUPON_FAILURE_NO = "400";

    const ALIBABAPRODUCT_COUPON_BOOKING_NOT_EXISTS = "拼团信息不存在";
    const ALIBABAPRODUCT_COUPON_BOOKING_NOT_EXISTS_NO = "404";

    const ALIBABAPRODUCT_NUM_NOT_EXISTS = "请选择数量";
    const ALIBABAPRODUCT_NUM_NOT_EXISTS_NO = "400";

    const ALIBABAPRODUCT_NUM_PRODUCT_NOT_EXISTS = "商品与数量不符";
    const ALIBABAPRODUCT_NUM_PRODUCT_NOT_EXISTS_NO = "400";

}
